package com.strutsDeom;

import com.opensymphony.xwork2.ActionSupport;

import java.util.ArrayList;
import java.util.List;

public class IteratorAction extends ActionSupport {
    private List<String> list;
    public String execute(){
        list=new ArrayList<>();
        list.add("肺癌");
        list.add("dsaf");
        list.add("而我安抚");
        list.add("htrstg");
        return SUCCESS;
    }
}
